package com.yungu.swift.assets.driver.model.dto;

import com.yungu.swift.base.model.BaseDto;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * t_car_insurance 实体类
 */
public class CarInsuranceDto extends BaseDto {

    /**
     * 车辆号牌
     **/
    private String vehicleNo;
    /**
     * 保险公司名称
     **/
    private String insurCom;
    /**
     * 保险号
     **/
    private String insurNum;
    /**
     * 保险类型
     **/
    private String insurType;
    /**
     * 保险金额
     **/
    private BigDecimal insurCount;
    /**
     * 赔付额度
     **/
    private BigDecimal insurLimit;
    /**
     * 保险生效时间
     **/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date insurEff;
    /**
     * 保险到期时间
     **/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date insurExp;
    /**
     * 公司标识
     **/
    private String companyUuid;
    /**
     * 车辆uuid
     **/
    private String carUuid;
    /**
     * 代理id
     **/
    private String agentUuid;

    public void setVehicleNo(String vehicleNo) {
        this.vehicleNo = vehicleNo;
    }

    public String getVehicleNo() {
        return vehicleNo;
    }

    public void setInsurCom(String insurCom) {
        this.insurCom = insurCom;
    }

    public String getInsurCom() {
        return insurCom;
    }

    public void setInsurNum(String insurNum) {
        this.insurNum = insurNum;
    }

    public String getInsurNum() {
        return insurNum;
    }

    public void setInsurType(String insurType) {
        this.insurType = insurType;
    }

    public String getInsurType() {
        return insurType;
    }

    public void setInsurCount(BigDecimal insurCount) {
        this.insurCount = insurCount;
    }

    public BigDecimal getInsurCount() {
        return insurCount;
    }

    public void setInsurEff(Date insurEff) {
        this.insurEff = insurEff;
    }

    public Date getInsurEff() {
        return insurEff;
    }

    public void setInsurExp(Date insurExp) {
        this.insurExp = insurExp;
    }

    public Date getInsurExp() {
        return insurExp;
    }

    public void setCompanyUuid(String companyUuid) {
        this.companyUuid = companyUuid;
    }

    public String getCompanyUuid() {
        return companyUuid;
    }

    public void setCarUuid(String carUuid) {
        this.carUuid = carUuid;
    }

    public String getCarUuid() {
        return carUuid;
    }

    public String getAgentUuid() {
        return agentUuid;
    }

    public void setAgentUuid(String agentUuid) {
        this.agentUuid = agentUuid;
    }

    public BigDecimal getInsurLimit() {
        return insurLimit;
    }

    public void setInsurLimit(BigDecimal insurLimit) {
        this.insurLimit = insurLimit;
    }
}

